Optimal. Leaf size=297 \[ \frac {x \sqrt {\frac {1-a x}{1+a x}} (1+a x)}{20 a^4}-\frac {9 x \text {sech}^{-1}(a x)}{20 a^4}-\frac {x^3 \text {sech}^{-1}(a x)}{10 a^2}-\frac {9 x \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{40 a^4}-\frac {3 x^3 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{20 a^2}+\frac {1}{5} x^5 \text {sech}^{-1}(a x)^3-\frac {9 \text {sech}^{-1}(a x)^2 \text {ArcTan}\left (e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}+\frac {\text {ArcTan}\left (\frac {\sqrt {\frac {1-a x}{1+a x}} (1+a x)}{a x}\right )}{2 a^5}+\frac {9 i \text {sech}^{-1}(a x) \text {PolyLog}\left (2,-i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}-\frac {9 i \text {sech}^{-1}(a x) \text {PolyLog}\left (2,i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}-\frac {9 i \text {PolyLog}\left (3,-i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}+\frac {9 i \text {PolyLog}\left (3,i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 297, normalized size of antiderivative = 1.00, number of steps
used = 14, number of rules used = 9, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.900, Rules used = {6420, 5526,
4271, 3853, 3855, 4265, 2611, 2320, 6724} \begin {gather*} \frac {\text {ArcTan}\left (\frac {\sqrt {\frac {1-a x}{a x+1}} (a x+1)}{a x}\right )}{2 a^5}-\frac {9 \text {sech}^{-1}(a x)^2 \text {ArcTan}\left (e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}+\frac {9 i \text {sech}^{-1}(a x) \text {Li}_2\left (-i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}-\frac {9 i \text {sech}^{-1}(a x) \text {Li}_2\left (i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}-\frac {9 i \text {Li}_3\left (-i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}+\frac {9 i \text {Li}_3\left (i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}+\frac {x \sqrt {\frac {1-a x}{a x+1}} (a x+1)}{20 a^4}-\frac {9 x \sqrt {\frac {1-a x}{a x+1}} (a x+1) \text {sech}^{-1}(a x)^2}{40 a^4}-\frac {9 x \text {sech}^{-1}(a x)}{20 a^4}-\frac {3 x^3 \sqrt {\frac {1-a x}{a x+1}} (a x+1) \text {sech}^{-1}(a x)^2}{20 a^2}-\frac {x^3 \text {sech}^{-1}(a x)}{10 a^2}+\frac {1}{5} x^5 \text {sech}^{-1}(a x)^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2320
Rule 2611
Rule 3853
Rule 3855
Rule 4265
Rule 4271
Rule 5526
Rule 6420
Rule 6724
Rubi steps
\begin {align*} \int x^4 \text {sech}^{-1}(a x)^3 \, dx &=-\frac {\text {Subst}\left (\int x^3 \text {sech}^5(x) \tanh (x) \, dx,x,\text {sech}^{-1}(a x)\right )}{a^5}\\ &=\frac {1}{5} x^5 \text {sech}^{-1}(a x)^3-\frac {3 \text {Subst}\left (\int x^2 \text {sech}^5(x) \, dx,x,\text {sech}^{-1}(a x)\right )}{5 a^5}\\ &=-\frac {x^3 \text {sech}^{-1}(a x)}{10 a^2}-\frac {3 x^3 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{20 a^2}+\frac {1}{5} x^5 \text {sech}^{-1}(a x)^3+\frac {\text {Subst}\left (\int \text {sech}^3(x) \, dx,x,\text {sech}^{-1}(a x)\right )}{10 a^5}-\frac {9 \text {Subst}\left (\int x^2 \text {sech}^3(x) \, dx,x,\text {sech}^{-1}(a x)\right )}{20 a^5}\\ &=\frac {x \sqrt {\frac {1-a x}{1+a x}} (1+a x)}{20 a^4}-\frac {9 x \text {sech}^{-1}(a x)}{20 a^4}-\frac {x^3 \text {sech}^{-1}(a x)}{10 a^2}-\frac {9 x \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{40 a^4}-\frac {3 x^3 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{20 a^2}+\frac {1}{5} x^5 \text {sech}^{-1}(a x)^3+\frac {\text {Subst}\left (\int \text {sech}(x) \, dx,x,\text {sech}^{-1}(a x)\right )}{20 a^5}-\frac {9 \text {Subst}\left (\int x^2 \text {sech}(x) \, dx,x,\text {sech}^{-1}(a x)\right )}{40 a^5}+\frac {9 \text {Subst}\left (\int \text {sech}(x) \, dx,x,\text {sech}^{-1}(a x)\right )}{20 a^5}\\ &=\frac {x \sqrt {\frac {1-a x}{1+a x}} (1+a x)}{20 a^4}-\frac {9 x \text {sech}^{-1}(a x)}{20 a^4}-\frac {x^3 \text {sech}^{-1}(a x)}{10 a^2}-\frac {9 x \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{40 a^4}-\frac {3 x^3 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{20 a^2}+\frac {1}{5} x^5 \text {sech}^{-1}(a x)^3-\frac {9 \text {sech}^{-1}(a x)^2 \tan ^{-1}\left (e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}+\frac {\tan ^{-1}\left (\frac {\sqrt {\frac {1-a x}{1+a x}} (1+a x)}{a x}\right )}{2 a^5}+\frac {(9 i) \text {Subst}\left (\int x \log \left (1-i e^x\right ) \, dx,x,\text {sech}^{-1}(a x)\right )}{20 a^5}-\frac {(9 i) \text {Subst}\left (\int x \log \left (1+i e^x\right ) \, dx,x,\text {sech}^{-1}(a x)\right )}{20 a^5}\\ &=\frac {x \sqrt {\frac {1-a x}{1+a x}} (1+a x)}{20 a^4}-\frac {9 x \text {sech}^{-1}(a x)}{20 a^4}-\frac {x^3 \text {sech}^{-1}(a x)}{10 a^2}-\frac {9 x \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{40 a^4}-\frac {3 x^3 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{20 a^2}+\frac {1}{5} x^5 \text {sech}^{-1}(a x)^3-\frac {9 \text {sech}^{-1}(a x)^2 \tan ^{-1}\left (e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}+\frac {\tan ^{-1}\left (\frac {\sqrt {\frac {1-a x}{1+a x}} (1+a x)}{a x}\right )}{2 a^5}+\frac {9 i \text {sech}^{-1}(a x) \text {Li}_2\left (-i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}-\frac {9 i \text {sech}^{-1}(a x) \text {Li}_2\left (i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}-\frac {(9 i) \text {Subst}\left (\int \text {Li}_2\left (-i e^x\right ) \, dx,x,\text {sech}^{-1}(a x)\right )}{20 a^5}+\frac {(9 i) \text {Subst}\left (\int \text {Li}_2\left (i e^x\right ) \, dx,x,\text {sech}^{-1}(a x)\right )}{20 a^5}\\ &=\frac {x \sqrt {\frac {1-a x}{1+a x}} (1+a x)}{20 a^4}-\frac {9 x \text {sech}^{-1}(a x)}{20 a^4}-\frac {x^3 \text {sech}^{-1}(a x)}{10 a^2}-\frac {9 x \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{40 a^4}-\frac {3 x^3 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{20 a^2}+\frac {1}{5} x^5 \text {sech}^{-1}(a x)^3-\frac {9 \text {sech}^{-1}(a x)^2 \tan ^{-1}\left (e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}+\frac {\tan ^{-1}\left (\frac {\sqrt {\frac {1-a x}{1+a x}} (1+a x)}{a x}\right )}{2 a^5}+\frac {9 i \text {sech}^{-1}(a x) \text {Li}_2\left (-i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}-\frac {9 i \text {sech}^{-1}(a x) \text {Li}_2\left (i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}-\frac {(9 i) \text {Subst}\left (\int \frac {\text {Li}_2(-i x)}{x} \, dx,x,e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}+\frac {(9 i) \text {Subst}\left (\int \frac {\text {Li}_2(i x)}{x} \, dx,x,e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}\\ &=\frac {x \sqrt {\frac {1-a x}{1+a x}} (1+a x)}{20 a^4}-\frac {9 x \text {sech}^{-1}(a x)}{20 a^4}-\frac {x^3 \text {sech}^{-1}(a x)}{10 a^2}-\frac {9 x \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{40 a^4}-\frac {3 x^3 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{20 a^2}+\frac {1}{5} x^5 \text {sech}^{-1}(a x)^3-\frac {9 \text {sech}^{-1}(a x)^2 \tan ^{-1}\left (e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}+\frac {\tan ^{-1}\left (\frac {\sqrt {\frac {1-a x}{1+a x}} (1+a x)}{a x}\right )}{2 a^5}+\frac {9 i \text {sech}^{-1}(a x) \text {Li}_2\left (-i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}-\frac {9 i \text {sech}^{-1}(a x) \text {Li}_2\left (i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}-\frac {9 i \text {Li}_3\left (-i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}+\frac {9 i \text {Li}_3\left (i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.39, size = 281, normalized size = 0.95 \begin {gather*} \frac {2 a x \sqrt {\frac {1-a x}{1+a x}} (1+a x)-18 a x \text {sech}^{-1}(a x)-4 a^3 x^3 \text {sech}^{-1}(a x)-9 a x \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2-6 a^3 x^3 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2+8 a^5 x^5 \text {sech}^{-1}(a x)^3+40 \text {ArcTan}\left (\tanh \left (\frac {1}{2} \text {sech}^{-1}(a x)\right )\right )+9 i \text {sech}^{-1}(a x)^2 \log \left (1-i e^{-\text {sech}^{-1}(a x)}\right )-9 i \text {sech}^{-1}(a x)^2 \log \left (1+i e^{-\text {sech}^{-1}(a x)}\right )+18 i \text {sech}^{-1}(a x) \text {PolyLog}\left (2,-i e^{-\text {sech}^{-1}(a x)}\right )-18 i \text {sech}^{-1}(a x) \text {PolyLog}\left (2,i e^{-\text {sech}^{-1}(a x)}\right )+18 i \text {PolyLog}\left (3,-i e^{-\text {sech}^{-1}(a x)}\right )-18 i \text {PolyLog}\left (3,i e^{-\text {sech}^{-1}(a x)}\right )}{40 a^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.53, size = 0, normalized size = 0.00 \[\int x^{4} \mathrm {arcsech}\left (a x \right )^{3}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{4} \operatorname {asech}^{3}{\left (a x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int x^4\,{\mathrm {acosh}\left (\frac {1}{a\,x}\right )}^3 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________